build:
	go build -v -o bin/runner -ldflags "-X 'gitee.com/csingo/cServer.version=`cat version`'" server/main.go

run:
	go run -v -ldflags "-X 'gitee.com/csingo/cServer.version=`cat version`'" server/main.go

push:
	goimports -local gitee.com/csingo/example -w .
	git add .
	git commit -m "update"
	git push

image:
	docker build -t runner:`cat version` -f docker/Dockerfile .
	# docker push runner:`cat version`
	goimports -local gitee.com/csingo/example -w .
	git add .
	git commit -m "update"
	git push

lint:
	golangci-lint run